<?php 
	include '../function.php';
	
	$id = $_GET['id'];
	$arr = array(
			array(
				'username'=>'小明',
				'sex' => '男',
				'age' => '18',
				'hoby' => '打球',
				),
			array(
				'username'=>'小李',
				'sex' => '男',
				'age' => '18',
				'hoby' => '吃饭',
				),
			array(
				'username'=>'小红',
				'sex' => '女',
				'age' => '19',
				'hoby' => '睡觉',
				),
		);
	// $man = $arr[$id];
	// var_dump($man);
	foreach ($arr[$id] as $k => $v) {
		echo $k."=>".$v."<br>";
	}

 ?>